package com.itheima.day07.循环;

import java.util.ArrayList;
import java.util.Collection;

public class Zengqiangfor {
    public static void main(String[] args) {
        Collection<String> c = new ArrayList<>();
        c.add("z");
        c.add("x");
        c.add("c");
        c.add("v");
        for (String s : c) {
            System.out.println(s);
        }
    }
}
